package com.ciko.code.logic.bean;

import java.io.Serializable;

/**
 * 这个实体用在通讯录，不是审批页面
 */
public class ContactBookInfo implements Serializable {
    private static final long serialVersionUID = 1194090575603682300L;
    private String accId;       //云信ID String类型
    private String address;     //通讯地址
    private String contactId;   //联系人编号
    private String contactName; //联系人姓名
    private int groupId;        //分组编号
    private int groupPosition;  //组内职位 0=组员 1=组长 2=副组长
    private String isDelete;    //是否删除 y=是 n=否
    private String mobileNumber;//手机号码
    private String organization;//工作单位
    private String phoneNumber; //联系电话
    private String position;    //职务
    private String postCode;    //邮编
    private int sortNum;        //组内排序号
    private String userHead;    //用户头像
    private String userId;
    private String userPositionMark;//编制
    private int companyId;//公司id
    private String email;//邮箱
    private int sex;//性别 1= 男 2 =女 0 =未知

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public int getUserPositionMark() {
        if (userPositionMark.equals("")) {
            userPositionMark = "9999";
        }
        return Integer.valueOf(userPositionMark);
    }

    public int getCompanyId() {
        return companyId;
    }

    public void setCompanyId(int companyId) {
        this.companyId = companyId;
    }

    public void setUserPositionMark(String userPositionMark) {
        this.userPositionMark = userPositionMark;
    }

    public String getAccId() {
        return accId;
    }

    public void setAccId(String accId) {
        this.accId = accId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getContactId() {
        return contactId;
    }

    public void setContactId(String contactId) {
        this.contactId = contactId;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public int getGroupPosition() {
        return groupPosition;
    }

    public void setGroupPosition(int groupPosition) {
        this.groupPosition = groupPosition;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    public String getMobileNumber() {
        return mobileNumber;
    }

    public void setMobileNumber(String mobileNumber) {
        this.mobileNumber = mobileNumber;
    }

    public String getOrganization() {
        return organization;
    }

    public void setOrganization(String organization) {
        this.organization = organization;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getPostCode() {
        return postCode;
    }

    public void setPostCode(String postCode) {
        this.postCode = postCode;
    }

    public int getSortNum() {
        return sortNum;
    }

    public void setSortNum(int sortNum) {
        this.sortNum = sortNum;
    }

    public String getUserHead() {
        return userHead;
    }

    public void setUserHead(String userHead) {
        this.userHead = userHead;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

}

